﻿using System.Collections;
using System.Collections.Generic;


public partial class ResponseData : ISerialize
{
    public int code;
    public string err;
}

public static class ErrorCode
{
    public const int UserNotFound = -100;
    public const int diamondNotEnough = -2;
    public const int InvalidUserId = -3;
    public const int CantFindMoment = -4;
    public const int CantFindComment = -4;
}

public partial class FetchCandidatesResponseData : ResponseData
{
    public List<UserMomentsInfo> candidates;
}
public partial class ApplyResponseData : ResponseData
{
    public Apply apply;
}
public partial class DialogueResponseData : ResponseData
{
    public Dialogue dialogue;
}
public partial class FetchUserInfoResponseData : ResponseData
{
    public UserInfo[] userInfos;
}
public partial class FetchMiniUserInfoResponseData : ResponseData
{
    public MiniUserInfo[] miniUserInfos;
}
public partial class VisitResponseData : ResponseData
{
    public Visit visit;
}
public partial class FetchMomentsResponseData : ResponseData
{
    public List<UserMoment> moments;
}
public partial class AddMomentResponseData : ResponseData
{
    public Moment moment;
}
public partial class AddCommentResponseData : ResponseData
{
    public Comment comment;
}
public partial class GetUserMomentsInfoResponseData : ResponseData
{
    public UserMomentsInfo userMomentsInfo;
}

public partial class ImageUrlResponseData : ResponseData
{
    public string url;
}